package com.jichaoyun.sys.mapper;

import com.jichaoyun.model.entity.FlowHour;

import com.jichaoyun.model.vo.StationHourVo;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.repository.query.Param;

import java.time.LocalDate;
import java.util.List;

/**
* @author zhen
* @description 针对表【flow_hour】的数据库操作Mapper
* @createDate 2023-11-23 20:22:53
* @Entity com.jichaoyun.model.entity.FlowHour
*/
@Mapper
public interface FlowHourMapper extends BaseMapper<FlowHour> {

    FlowHour selectRecentOneByStation(Integer stationNo);

    List<StationHourVo> selectStationHourList(@Param("rec_start") LocalDate startTime,
                                              @Param("rec_start") LocalDate endTime);
}




